﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GeneralAdaptiveFramework
{
    public class ComponentMgrException : Exception
    {
        public string errorMessage { get { return base.Message.ToString(); } }

        public ComponentMgrException(string errorMessage)
            : base(errorMessage)
        {
            Console.WriteLine(errorMessage);
        }

        public ComponentMgrException(string errorMessage, Exception innerEx)
            : base(errorMessage, innerEx)
        {
            Console.WriteLine(errorMessage);
        }
    }
}
